package com.fit4as.fit
{

public class ParseException extends Exception
{

	protected var msg : String;
	protected var offset : int;

    public function ParseException( p_msg : String, p_offset : int )
    {
        super( p_msg + " at offset " + offset );
        
        this.msg = p_msg;
        this.offset = p_offset;
    }

	public function getMessage() : String
	{
		return msg;
	}
	
	public function getErrorOffset() : int
	{
		return offset;
	}
}
}